import request from '@/utils/request'

export function listPage(param) {
  return request({
    url: '/api/tbill/finance/listPage',
    method: 'post',
    params: param
  })
}
export function add(data) {
  return request({
    url: '/api/tbill/finance/add',
    method: 'post',
    data
  })
}
export function updateById(data) {
  return request({
    url: '/api/tbill/finance/updateById',
    method: 'post',
    data
  })
}
export function listBillByMouth(data) {
  return request({
    url: '/api/tbill/finance/listBillByMouth',
    method: 'post',
    data
  })
}
export function getOutcome(param) {
  return request({
    url: '/api/tbill/finance/getOutcome',
    method: 'post',
    params: param
  })
}
export function listBillForDate(param) {
  return request({
    url: '/api/tbill/finance/listBillForDate',
    method: 'post',
    params: param
  })
}
export function listBillForMonth(param) {
  return request({
    url: '/api/tbill/finance/listBillForMonth',
    method: 'post',
    params: param
  })
}
export function listTypeFinance(data) {
  return request({
    url: '/api/tbill/finance/listTypeFinance',
    method: 'post',
    data
  })
}
export function listMonthFinance(param) {
  return request({
    url: '/api/tbill/finance/listMonthFinance',
    method: 'post',
    params: param
  })
}